package com.yj.blog.mapper;

import com.yj.blog.model.SysUserPermissionRelation;
import com.yj.blog.model.SysUserPermissionRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysUserPermissionRelationMapper {
    long countByExample(SysUserPermissionRelationExample example);

    int deleteByExample(SysUserPermissionRelationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysUserPermissionRelation record);

    int insertSelective(SysUserPermissionRelation record);

    List<SysUserPermissionRelation> selectByExample(SysUserPermissionRelationExample example);

    SysUserPermissionRelation selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysUserPermissionRelation record, @Param("example") SysUserPermissionRelationExample example);

    int updateByExample(@Param("record") SysUserPermissionRelation record, @Param("example") SysUserPermissionRelationExample example);

    int updateByPrimaryKeySelective(SysUserPermissionRelation record);

    int updateByPrimaryKey(SysUserPermissionRelation record);
}